home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Trial
/
Camtasia 6
/
camtasia.msi
/
Cabs.w1.cab
/
fp8_controller.swf2202
/
scripts
/
frame_15
/
DoAction.as
Wrap
Text File
|
2008-10-10
|
1KB
|
31 lines
function updatePreview(prop, oldVal, newVal)
{
container.removeMovieClip();
container = com.techsmith.camtasia.flash.player.SWFController(this.attachMovie("swfController","container",1));
container.previewInit(newVal,pipX,pipY,csPreviewStyle,csPreviewInteracts,getButtonNames(),csPreviewPaint);
return newVal;
}
function getButtonNames()
{
var _loc1_ = csButtonNames.split(",");
return {controls:_loc1_[0],video:_loc1_[1],toc:_loc1_[2],pip:_loc1_[3]};
}
function getModel()
{
return container;
}
var container = com.techsmith.camtasia.flash.player.SWFController(this.attachMovie("swfController","container",1));
container._visible = false;
if(csPreview == "false")
{
unwatch("csPreview");
container.init(csConfigFile,preloader_mc,csFilesetBookmark);
trace(csFilesetBookmark);
container.addEventListener("mediaLoadingEvent",preloader_mc.target.preloader);
}
else
{
watch("csConfigFile",updatePreview);
container.previewInit(csConfigFile,pipX,pipY,csPreviewStyle,csPreviewInteracts,getButtonNames(),csPreviewPaint);
}